<p><a href="index.php?m=record&a=add" onclick="showWindow('addrecordi', this.href, 'get', 1, {'cover':'1'}); return false;">收入</a> | <a href="index.php?m=record&a=add&" onclick="showWindow('addrecorde', this.href, 'get', 1, {'cover':'1'}); return false;">支出</a></p>
<table style="width:100%;" class="data">
<tr><th>DiaryDate</th><th>AccountName</th>
<th>ItemType</th><th>Income</th><th>Expend</th><th>Remark</th><th>OPT</th></tr>
<?php foreach($this->RecordData as $k=>$v):?>
<tr>
<td><?php echo date('Y-m-d H:i:s', $v['DiaryDate']);?>&nbsp;</td>
<td><?php echo $v['AccountName']?>&nbsp;</td>
<td><?php echo $v['ItemName']?>&nbsp;</td>
<td><?php echo $v['Income']?>&nbsp;</td>
<td><?php echo $v['Expend']?>&nbsp;</td>
<td><?php echo $v['Remark']?>&nbsp;</td>
<td><a href="?m=record&a=amend&aid=<?php echo $v['AID'];?>">修改</a></td>
</tr>
<?php endforeach;?>
</table>